﻿using System;


namespace Se.Model.GMCommand
{
    /// <summary>
    /// GM命令属性
    /// </summary>
    /// <remarks>
    /// 增加一个GM命令，对于实现部分只要标注该标签即可
    /// </remarks>
    public class GMCommandAttribute : Attribute
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="cmdLine"></param>
        /// <param name="description"></param>
        public GMCommandAttribute(string cmdLine, string description = "")
        {
            CommandLine = cmdLine;
            Description = description;
        }


        /// <summary>
        /// 命令行
        /// </summary>
        public string CommandLine { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }


    }   // GMCommandAttribute

}   // namespace BlackTeam.Business.Generic.GMCommand
